package io.github.talelin.latticy.mapper;

import io.github.talelin.latticy.model.AswTypeDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 题目分类表 Mapper 接口
 * </p>
 *
 * @author generator@tomingto
 * @since 2021-06-02
 */
@Repository
public interface AswTypeMapper extends BaseMapper<AswTypeDO> {

    @Update("UPDATE `asw_type` SET asw_type_state=#{aswTypeState} WHERE id=#{id}")
    Integer updateTypeState(Integer aswTypeState,Integer id);

}
